﻿using System.Runtime.InteropServices;
using EnvDTE;
using Microsoft.VisualStudio.Project.Automation;

namespace RiftAddonStudio.Project.Automation
{
    /// <summary>
    /// Rift project automation object.
    /// </summary>
    [ComVisible(true)]
    public class OARiftProject : OAProject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="OARiftProject"/> class.
        /// </summary>
        /// <param name="projectNode">The project node.</param>
        internal OARiftProject(RiftProjectNode projectNode)
            : base(projectNode)
        {
        }

        /// <summary>
        /// Gets a collection of all properties that pertain to the Project object.
        /// </summary>
        /// <value></value>
        public override Properties Properties
        {
            get { return new OARiftProjectProperties(Project.NodeProperties); }
        }
    }
}
